package com.zx.mes.hyl;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

/**
 * @ComponentScan(basePackages = {"com.github.pig.auth", "com.github.pig.common.bean"})
 * 引入第三方包时，需要指定扫描指定路径
 * 资源与认证服务器一体
 * @author huayunlong
 * @date 2018-7-10
 */
@SpringBootApplication
@EnableDiscoveryClient
public class AuthApplication {

    public static void main(String []args){
        SpringApplication.run(AuthApplication.class, args);
    }
}
